package office.service.hr;

import java.util.List;

import office.action.hr.form.QuitEntryForm;
import platform.common.exception.BusinessException;

public interface IQuitEntryService {

	/**
	 * 获取辞职申请信息
	 * @return
	 * @throws BusinessException
	 */
	public List getQuitEntryList(QuitEntryForm objctForm) throws BusinessException;
	/**
	 * 编辑辞职申请
	 * @throws BusinessException
	 */
	public void editQuitEntry(QuitEntryForm objctForm)throws BusinessException;
	/**
	 * 根据id获取对象
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public QuitEntryForm getById(String id)throws BusinessException;
	/**
	 * 根据id删除对象
	 * @param id
	 * @throws BusinessException
	 */
	public void deleteById(String id)throws BusinessException;
	
	/**
	 * 根据用户id获取对象
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public QuitEntryForm getByUserId(String userId)throws BusinessException;
	/**
	 * 提交审批
	 * @param id
	 * @throws BusinessException
	 */
	public void submitCheck(String id)throws BusinessException;
	
	/**
	 * 
	 * @param check 审批是否为通过
	 * @param id
	 * @throws BusinessException
	 */
	public void checkData(boolean check,String id)throws BusinessException;
}
